<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>knet: lock_create</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">knet
   &#160;<span id="projectnumber">1.4.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="modules.html"><span>模块</span></a></li>
      <li><a href="annotated.html"><span>结构体</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e74998c9a9305a116abc25fcf9a1edb.html">knet-git</a></li><li class="navelem"><a class="el" href="dir_a1c045b39f32066568ae964b52db514f.html">knet</a></li><li class="navelem"><a class="el" href="dir_f76d03789f0b12416cfffea59e2ed47d.html">knet</a></li><li class="navelem"><a class="el" href="a00062.html">misc.c</a></li>  </ul>
</div>
</div><!-- top -->
<div class="contents">
<table cellspacing="0" cellpadding="0" border="0">
  <tr>
   <td valign="top">
      <div class="navtab">
        <table>
          <tr><td class="navtab"><a class="qindex" href="a00062_aeea3ecc7113624673710e5f8570325c7.html#aeea3ecc7113624673710e5f8570325c7">_lock_init</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_ae1217c770962ea59a20fa931ad6fee0c.html#ae1217c770962ea59a20fa931ad6fee0c">_thread_func</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_ad2578ccaa4c6ce7670eabd9575204c38.html#ad2578ccaa4c6ce7670eabd9575204c38">_thread_loop_func</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_af3540c31c89a280433080939f96da861.html#af3540c31c89a280433080939f96da861">_thread_timer_loop_func</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00089_gafc2df03d75cf9168b72e8c5e11953437.html#gafc2df03d75cf9168b72e8c5e11953437">atomic_counter_dec</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00089_gade4f41f1cd519f2719b5114ce7801232.html#gade4f41f1cd519f2719b5114ce7801232">atomic_counter_inc</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00089_ga141897cac9743394a99ff7780daa6a80.html#ga141897cac9743394a99ff7780daa6a80">atomic_counter_zero</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a83ecacb2855b2a9c324de5ffb5300e15.html#a83ecacb2855b2a9c324de5ffb5300e15">get_channel_cb_event_name</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a09544f6ae0ab9ff277146fb25ae2354c.html#a09544f6ae0ab9ff277146fb25ae2354c">get_channel_cb_event_string</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_ab1f59aa518d342661072356abbbb5e85.html#ab1f59aa518d342661072356abbbb5e85">htonll</a></td></tr>
          <tr><td class="navtab"><a class="qindexHL" href="a00062_a0e47279c8c752d22446932673be52e38.html#a0e47279c8c752d22446932673be52e38">lock_create</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_aba61c8c4b8ee5ec7e337ed950d680702.html#aba61c8c4b8ee5ec7e337ed950d680702">lock_destroy</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_ad8e04f3d702d3f15868c064947d396b3.html#ad8e04f3d702d3f15868c064947d396b3">lock_lock</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a2caa15f5d1698c623c1861bd02184d0e.html#a2caa15f5d1698c623c1861bd02184d0e">lock_trylock</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a99cf1d42527f5715b798064281e918ed.html#a99cf1d42527f5715b798064281e918ed">lock_unlock</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_aebdeac120dd80e9450e54e6f18151f45.html#aebdeac120dd80e9450e54e6f18151f45">ntohll</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a6c98a04f00772c05a1f51afc185f7513.html#a6c98a04f00772c05a1f51afc185f7513">path_getcwd</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a3db4aef68a8961e075d700673594f9d3.html#a3db4aef68a8961e075d700673594f9d3">socket_accept</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a5ab6846ac2d5706e2357ee17a0178bc3.html#a5ab6846ac2d5706e2357ee17a0178bc3">socket_bind_and_listen</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a8afd26cc26824e35f1ec942d2c367c2b.html#a8afd26cc26824e35f1ec942d2c367c2b">socket_check_send_ready</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a3972a34b212a86a683834f05ed37034f.html#a3972a34b212a86a683834f05ed37034f">socket_close</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a1ec48de5c316491b068fbb3c76b21c91.html#a1ec48de5c316491b068fbb3c76b21c91">socket_connect</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a71cc84510563a2981ed5a47f86ccb7f6.html#a71cc84510563a2981ed5a47f86ccb7f6">socket_create</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_af9dec30d9e18787252fecc0de537843f.html#af9dec30d9e18787252fecc0de537843f">socket_getpeername</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_ad427473485df55e150741186f3ef2879.html#ad427473485df55e150741186f3ef2879">socket_getsockname</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a64d681185ca861b010c81db7479e9e08.html#a64d681185ca861b010c81db7479e9e08">socket_pair</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a8a4b901f1586de59d1d0a88d3326c934.html#a8a4b901f1586de59d1d0a88d3326c934">socket_recv</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a1acbefba637d7c0c3fd77355f84d4c22.html#a1acbefba637d7c0c3fd77355f84d4c22">socket_send</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a1d090d32a5cdf8b76b9e8eb650dfab60.html#a1d090d32a5cdf8b76b9e8eb650dfab60">socket_set_donot_route_on</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_aeaa8128921474edb7c47efb40c8383ff.html#aeaa8128921474edb7c47efb40c8383ff">socket_set_keepalive_off</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_ae3f2774813f23e084f5268d51e6c4983.html#ae3f2774813f23e084f5268d51e6c4983">socket_set_linger_off</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_ac38b97ead3e51bdc95124910f3657c8a.html#ac38b97ead3e51bdc95124910f3657c8a">socket_set_nagle_off</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_afd473c5857939c252deb9bfa30da8366.html#afd473c5857939c252deb9bfa30da8366">socket_set_non_blocking_on</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_ae2d51397a3f343ea4daaf96b4d203f73.html#ae2d51397a3f343ea4daaf96b4d203f73">socket_set_recv_buffer_size</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a10039d2f0e29d4b0d3b0cab3c7a1b63c.html#a10039d2f0e29d4b0d3b0cab3c7a1b63c">socket_set_reuse_addr_on</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a8489cd06398f759fff9660006dc8c10d.html#a8489cd06398f759fff9660006dc8c10d">socket_set_send_buffer_size</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a2e3ede072c59452900afcb1334611dac.html#a2e3ede072c59452900afcb1334611dac">sys_get_errno</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a75b9d7e4a1d3734e2a4c0ba298b1578c.html#a75b9d7e4a1d3734e2a4c0ba298b1578c">thread_func_pthread</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00089_gaecf10907eee00ec0e807271c906a6645.html#gaecf10907eee00ec0e807271c906a6645">thread_get_self_id</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00089_ga63c9be5b8fb04c0b26382f51b7bdf237.html#ga63c9be5b8fb04c0b26382f51b7bdf237">thread_get_tls_data</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a4f94afc82ab1358bdfdaa1739ca71655.html#a4f94afc82ab1358bdfdaa1739ca71655">thread_loop_func_pthread</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00089_ga95c00ec3d6ef1710cc8d8bb8cb7e585d.html#ga95c00ec3d6ef1710cc8d8bb8cb7e585d">thread_runner_check_start</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00089_gac20d7726e152e0b49209ce228893c25d.html#gac20d7726e152e0b49209ce228893c25d">thread_runner_create</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00089_ga8b9d3d45b6055971fc40f24ec6572cf6.html#ga8b9d3d45b6055971fc40f24ec6572cf6">thread_runner_destroy</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00089_gaf67fa2b2cfefc2de422a31b9dfad2bca.html#gaf67fa2b2cfefc2de422a31b9dfad2bca">thread_runner_get_params</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00089_ga813a718c56e0923be9396630c8460794.html#ga813a718c56e0923be9396630c8460794">thread_runner_join</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00089_ga1114fd962e310f9d31ed4e83d8a21897.html#ga1114fd962e310f9d31ed4e83d8a21897">thread_runner_start</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00089_ga93f88ba77e7eab786da6fe7d1f681a2e.html#ga93f88ba77e7eab786da6fe7d1f681a2e">thread_runner_start_loop</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00089_ga9191991e2bd7f91fe68324c2855d581d.html#ga9191991e2bd7f91fe68324c2855d581d">thread_runner_start_timer_loop</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00089_gaa035f190ffd3d7f117b8fbb58716f042.html#gaa035f190ffd3d7f117b8fbb58716f042">thread_runner_stop</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00089_gaa187b2cd2c906680890fb4ea2833d665.html#gaa187b2cd2c906680890fb4ea2833d665">thread_set_tls_data</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00089_gabddf3ac30aac3f22f8c53b7517e6eb35.html#gabddf3ac30aac3f22f8c53b7517e6eb35">thread_sleep_ms</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a878593e36d665dc3334cf71e88bf93e6.html#a878593e36d665dc3334cf71e88bf93e6">thread_timer_loop_func_pthread</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a5eb6de730bc28be3fbc402b9841c1819.html#a5eb6de730bc28be3fbc402b9841c1819">time_get_microseconds</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a528d27a7218cb2fdabf81ca343e24fc9.html#a528d27a7218cb2fdabf81ca343e24fc9">time_get_milliseconds</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a6d3f7fda67a3c61f767f7b2dbfcbe4ee.html#a6d3f7fda67a3c61f767f7b2dbfcbe4ee">time_get_string</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a3cab12b4908938ca999206a67c8ee032.html#a3cab12b4908938ca999206a67c8ee032">time_gettimeofday</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="a00062_a2b1df51bc127460a3bf25949068bfe92.html#a2b1df51bc127460a3bf25949068bfe92">uuid_create</a></td></tr>
        </table>
      </div>
   </td>
   <td valign="top" class="mempage">
<a class="anchor" id="a0e47279c8c752d22446932673be52e38"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00044_ad3e00e0eb0c79dfd77ff2ff833f49c7d.html#ad3e00e0eb0c79dfd77ff2ff833f49c7d">lock_t</a>* lock_create </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>建立互斥锁实例 </p>
<dl class="section return"><dt>返回</dt><dd>lock_t实例 </dd></dl>

</div>
</div>
    </td>
  </tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2015年 七月 9日 星期四 15:26:51 , 为 knet使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
